package com.lontyu.jsoup.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: xzj
 * @Dscription：
 * @Date: Created by 16:52 2018/9/13
 */
@TableName("book")
public class Book implements Serializable {

    @TableId
    private Integer id;

    private String name;

    private BigDecimal price;

    @TableField("jd_id")
    private String jdId;

    public Book() {
    }

    public Book(String name, BigDecimal price, String jdId) {
        this.name = name;
        this.price = price;
        this.jdId = jdId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getJdId() {
        return jdId;
    }

    public void setJdId(String jdId) {
        this.jdId = jdId;
    }
}
